<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%--日期格式化--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>文章详情</title>
    <meta name="keywords" content="课程学习问答系统">
    <meta name="description" content="课程学习问答系统">

    <script src="/static/js/jquery/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="/static/layui/layui.js" type="text/javascript"></script>
    <script src="/static/js/index/index.js" type="text/javascript"></script>
    <script src="/static/js/index/freezeheader.js" type="text/javascript"></script>
    <script src="/static/layui/lay/modules/layer.js" type="text/javascript"></script>
    <script src="/static/js/index/sliders.js" type="text/javascript"></script>
    <script src="/static/js/index/html5.js" type="text/javascript"></script>
    <script src="/static/js/index/article_details.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/static/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/static/layui/css/modules/layer/default/layer.css"/>
    <link rel="stylesheet" href="/static/css/global.css"/>
    <link rel="stylesheet" href="/static/layui/font/iconfont.woff2"/>
    <link rel="stylesheet" href="/static/layui/font/iconfont.woff"/>
    <link rel="stylesheet" href="/static/layui/font/iconfont.ttf"/>

    <!--
    -->
</head>
<body>

<div class="layui-header header">
    <div class="main">
        <ul class="layui-nav layui-nav-left" lay-filter="filter">
            <img src="../../static/images/logo1.png"/>
            <li class="layui-nav-item  nav-left">
                <a href="/teacher/">首页</a>
            </li>
            <li class="layui-nav-item">
                <a href="/teacher/outArticle">发表文章</a>
            </li>
            <li class="layui-nav-item">
                <a href="/teacher/article">文章库</a>
            </li>

        </ul>
        <ul class="layui-nav layui-layout-right layui-nav-right" lay-filter="filter">

            <li class="layui-nav-item">
                <a href="/teacher/question">我的<span class="layui-badge-dot"></span></a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;"><img src="/static/images/head.jpg" class="layui-nav-img">个人中心</a>
                <dl class="layui-nav-child">
                    <dd><a href="/teacher/set">查看个人资料</a></dd>
                    <dd><a href="/teacher/logout">退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>
<div class="layui-container container">
    <div class="layui-row layui-col-space20">
        <div class="layui-col-md">
            <div>
          <span class="layui-breadcrumb">
              <a href="/teacher/index">首页</a>
              <a href="/teacher/article">文章</a>
              <a><cite>${passage.passageTitle}</cite></a>
    	</span>
                <hr class="layui-bg-red">
                <div class="content" id="photos">
                    <h2 class="c_titile">${passage.passageTitle}</h2>
                    <p class="box_c"><span class="d_time">发布时间：<fmt:formatDate value="${passage.passageTime}"
                                                                               pattern="yyyy-MM-dd HH:mm:ss"/></span><span>编辑：${passage.passageAuthor}</span>
                    </p>
                    <div class="detail-body">
                        <p>${passage.passageContent}</p>
                    </div>


                    <!--分页-->
                    <%--<div id="page_reply"></div>--%>


                </div>
            </div>
        </div>
    </div>
</div>
<%@ include file="footer.jsp" %>
<script>
    //图片放大 预览显示
    layer.photos({
        photos: '#photos'
        , anim: 0 //0-6的选择，指定弹出图片动画类型，默认随机（请注意，3.0之前的版本用shift参数）
    });
</script>
</body>
</html>
